package com.qf.xiaomi.dao;

import com.qf.xiaomi.pojo.TbCart;
import com.qf.xiaomi.pojo.TbCartList;
import com.qf.xiaomi.pojo.TbGoods;

import java.util.List;

public interface cartDao {
    public void addCart(long userId, long goodId);

    public List<TbCart> selectCartByUid(long uid, TbCartList tbCartList);

    public List<TbGoods> selectByCart(TbCart tbCart);

    public int[] selectNumsByCart(TbCart tbCart);

    public void del(long cid);

    public int clearCart();
}
